Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: What is this!!!!!???????
Feedback Type: Problem
Product Area: Other
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always

I have an application and am stuck on what should be the simplest code. I wrote the below to illustrate the problem:

1) I have a value in a field (value is "CANCEL") from a document field called arrayMethod
2) I collect this value and put it into a string. The string has the value "CANCEL"
3) I then attempt to convert the value depending on what 2) returns
4) Believe it not the result is "leave" rather than "Remove"

key = UCase(CStr(Trim(doc.getitemvalue("ARRAYMETHOD")(0))))

If key = "CANCEL" Then
key2 = "Remove"
Else
key2 = "Leave"
End If


What is this? Corruption?


Feedback number WEBB8JWFXZ created by ~Naomi Dwojumitherettu on 07/19/2011

Status: Open
Comments:

What is this!!!!!??????? (~Naomi Dwojumit... 19.Jul.11)
. . I suspect a space in field value ..... (~Zelda Ekresask... 19.Jul.11)
. . . . Removing trim makes no difference (~Naomi Dwojumit... 20.Jul.11)
. . . . . . UTF files etc (~Naomi Dwojumit... 20.Jul.11)
. . . . . . . . you can create your own myTrim func... (~John Reniskiik... 20.Jul.11)
. . . . . . . . . . Used Notes Stream - still problems (~Naomi Dwojumit... 20.Jul.11)
. . . . . . . . . . It's an idea (~Naomi Dwojumit... 20.Jul.11)
. . . . . . . . . . . . Solved (~Naomi Dwojumit... 20.Jul.11)
. . . . . . . . . . . . . . wonder if (~Lisa Zekkrotex... 20.Jul.11)
. . . . . . . . . . . . . . . . :-) (~Naomi Dwojumit... 21.Jul.11)
. . hmmm (~Fred Asatumibu... 20.Jul.11)
. . . . The key value is "CANCEL" (~Naomi Dwojumit... 20.Jul.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS